package com.hzw.saas.web.sso.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author sonam
 * @since 2021/3/1 14:34
 */
@Data
@ApiModel(value = "第三方登录返回结果")
public class TokenInfoDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "接口调用凭证")
    private String accessToken;
    @ApiModelProperty(value = "用户刷新access_token")
    private String refreshToken;
    @ApiModelProperty(value = "access_token接口调用凭证超时时间，单位（秒）")
    private Integer expiresIn;
    @ApiModelProperty(value = "授权用户唯一标识")
    private String userId;

}
